import { server } from '../config';

export const doUpload = data => {
    return server({
        method: 'post',
        url: '/upload/doUpload',
        headers: {
            'Content-Type': 'multipart/form-data'
        },
        data
    });
};
